package br.com.examCertification.model;

import org.droidpersistence.annotation.Column;
import org.droidpersistence.annotation.ForeignKey;
import org.droidpersistence.annotation.Table;
import org.droidpersistence.model.BaseModel;

@Table(name="Pergunta")
public class Pergunta extends BaseModel{
	
	@Column(name="questao")
	private String questao;
	
	@Column(name="review")
	private String review;
	
    @Column(name="tipoExame_id")
    @ForeignKey(tableReference="TipoExame", onDeleteCascade=true)
    private long tipoExame_id;
    
	public void setQuestao(String questao) {
		this.questao = questao;
	}
	public String getQuestao() {
		return questao;
	}
	public void setReview(String review) {
		this.review = review;
	}
	public String getReview() {
		return review;
	}
	public void setTipoExame_id(long tipoExame_id) {
		this.tipoExame_id = tipoExame_id;
	}
	public long getTipoExame_id() {
		return tipoExame_id;
	}
}
